package com.lujianfei.waterpower.ui.water;

import android.content.Context;

import java.util.List;

public interface WaterContract {
    interface Model{

        List<WaterEntity> getData();

        String getShareContent(Context context, WaterEntity powerEntity);
    }
    interface View{

        void updateData(List<WaterEntity> powerEntities);

        Context getContext();
    }
    interface Presenter{

        void loadData();

        void openPowerAdd();

        void showOperDialog(WaterEntity powerEntity);
    }
}
